﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace MODEL.ViewModel
{
    public  class Permisson
    {
        [DisplayName("ID")]
        public int PId { get; set; }

        [DisplayName("父级ID")]
        public int PParent { get; set; }

        [DisplayName("权限名")]
        [Required]
        public string PName { get; set; }

        [DisplayName("区域名")]
        [Required]
        public string PAreaName { get; set; }

        [DisplayName("控制器名")]
        public string PControllerName { get; set; }

        [DisplayName("方法名")]
        public string PActionName { get; set; }
        [DisplayName("添加时间")]
        public System.DateTime PAddTime { get; set; }

        [DisplayName("备注")]
        [DataType(DataType.MultilineText)]
        public string PRemark { get; set; }
    }
}
